package com.helwen.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 登录用户信息
 * Created by macro on 2020/6/19.
 */
@Data
@EqualsAndHashCode(callSuper = false)
@NoArgsConstructor
public class UserDto {
    private Long id;
    private String username;
    private String nickName;
    private String password;
    private Integer status;
    private String clientId;
    private String userType;//人员类型0.系统管理人员，1.店长，2.配送员，3.营运者,4.业务员

    private String tenantId;//租户id,城市id
    private Long warehouseId;//二级仓id
    private String warehouseName;//二级仓名称
    private String mobile;//手机号

    private List<String> roles;
    private String imAccid;
    private String imToken;

    /**
     * 客服网易云用户账户
     * */
    private String waiterImAccid;
}
